import Login from './views/Login.vue'

let routes = [
	{
		path: '/',
		name: 'login',
		component: Login
	},
	{
		path: '/page1',
		name: 'page1',
		component: () => import('./views/Page1.vue')
	},
	{
		path: '/home',
		name: 'home',
		component: () => import('./views/Home.vue')
		
	}
]

export default routes







// import Vue from 'vue'
// import Router from 'vue-router'
// import Login from './views/Login.vue'


// Vue.use(Router);

// export default new Router({
// 	mode: 'hash',
	
// 	routes:[
// 		{
// 			path: '/',
// 			name: 'login',
// 			component: Login
// 		},
// 		{
// 			path: '/page1',
// 			name: 'page1',
// 			component: () => import('./views/Page1.vue')
// 		},
// 		{
// 			path: '/home',
// 			name: 'home',
// 			component: () => import('./views/Home.vue')
			
// 		}
		
// 	]
// })


